QT       += core gui

greaterThan(QT_MAJOR_VERSION, 4): QT += widgets

CONFIG += c++11
CONFIG += precompile_header #可以在项目中使用预编译头文件的支持
#预编译头文件路径
PRECOMPILED_HEADER = stable.h

FORMS += \
    calculator.ui \
    history.ui \
    about.ui \
    linearAlgebra.ui \
    hugeCalc.ui \
    nonLinearAlgebra.ui \
    constant.ui \
    variable.ui

RESOURCES += \
    resource.qrc \

HEADERS += \
    Calculator.h \
    ChildWindow.h \
    BigInt.h \
    HugeCalc.h \
    Calc.h \
    linearAlgebra.h \
    nonLinearAlgebra.h \
    polynomial.h \
    GeneticAlgorithm.h \
    Complex.h

SOURCES += \
    main.cpp \
    Calculator.cpp \
    ChildWindow.cpp \
    HugeCalc.cpp \
    BigInt.cpp \
    Calc.cpp \
    linearAlgebra.cpp \
    nonLinearAlgebra.cpp \
    polynomial.cpp \
    GeneticAlgorithm.cpp \
    Complex.cpp

TRANSLATIONS += Chinese.ts
